﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CreateMentorsTopic.aspx.cs"
    Inherits="MyVocationSpace.CreateMentorsTopic" %>

<%@ Register Src="Header.ascx" TagName="header" TagPrefix="uc" %>
<%@ Register Src="Footer.ascx" TagName="footer" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="css/Default.css" rel="stylesheet" type="text/css" />
    <link href="css/MyStyle.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <center>
        <div>
            <uc:header ID="header" runat="server" />
        </div>
        <div id="content-wrapper">
            <div id="CommonContentInner">
                <div id="selector">
                    <div style="height: 450px; padding-top: 40px;" class="mainTable">
                        <table width="800px">
                            <tr>
                                <td class="selector">
                                    <table cellpadding="0" cellspacing="0" width="800px">
                                        <tr>
                                            <td class="heading" style="width: 500px; padding: 5px;" colspan="2">
                                                Create Mentors Topic
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="center" style="width: 800px">
                                                <span id="Span1" runat="server" class="spanMsgs" style="display: none;"></span>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <table align="center" cellpadding="5" width="800px">
                                                    <tr>
                                                        <td class="lblName">
                                                            Mentor:
                                                        </td>
                                                        <td align="left" colspan="2">
                                                            <asp:DropDownList ID="ddlMentor" Width="170px" runat="server">
                                                            </asp:DropDownList>
                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ForeColor="Red"
                                                                ErrorMessage="Please select Mentor" InitialValue="-1" ControlToValidate="ddlMentor"></asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="lblName">
                                                           Topic Name:
                                                        </td>
                                                        <td align="left" colspan="2">
                                                            <asp:TextBox ID="txtMTName" runat="server" Width="350px"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ForeColor="Red"
                                                                ErrorMessage="Please enter Topic" ControlToValidate="txtMTName"></asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="lblName">
                                                            Vocation:
                                                        </td>
                                                        <td align="left" colspan="2">
                                                            <asp:DropDownList ID="ddlVocation" Width="350px" runat="server">
                                                            </asp:DropDownList>
                                                            <asp:RequiredFieldValidator ID="rfvddlVocation" ForeColor="Red" runat="server" InitialValue="-1"
                                                                ControlToValidate="ddlVocation" ErrorMessage="Please select Vocation"></asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td valign="top" class="lblName">
                                                            Description:
                                                        </td>
                                                        <td valign="middle" align="left" style="width: 200px">
                                                            <asp:TextBox ID="txtMTDescription" runat="server" TextMode="MultiLine" Height="200px"
                                                                Width="480px"></asp:TextBox>
                                                        </td>
                                                        <td valign="top" align="left">
                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ForeColor="Red"
                                                                ErrorMessage="Please enter Description" ControlToValidate="txtMTDescription"></asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="padding-left: 280px; padding-bottom: 20px;">
                                                <asp:Button ID="btnSubmit" runat="server" Text="Submit" CssClass="formBtnEdit" OnClick="btnSubmit_Click" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
        </div>
        <div style="clear: both">
        </div>
        <div>
            <uc1:footer runat="server" ID="footer"></uc1:footer>
        </div>
    </center>
    </form>
</body>
</html>
